package com.hq.zb.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 客户账号
 * </p>
 *
 * @author huanghanrui
 * @since 2022-03-24
 */
@Data
@TableName("cus_customer_account")
public class CustomerAccount extends BaseModel<CustomerAccount> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 客户ID
     */
    @TableField("customer_id")
    private Integer customerId;
    /**
     * 账号
     */
    private String account;
    /**
     * 密码
     */
    private String password;
    /**
     * 备案账号
     */
    @TableField("kor_account")
    private String korAccount;
    /**
     * 备案密码
     */
    @TableField("kor_password")
    private String korPassword;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
